package home.service;

import home.model.Goods;
import home.model.PageBean;

import java.util.List;

import net.sf.json.JSONObject;

public interface GoodsService {
	public List<Goods> getAllGoods(int pageNo, int pageSize);
	public boolean deleteGoodsById(int id);
	public boolean saveGoods(Goods goods);
	public Goods getGoods(int id);
	public PageBean queryForPage(int pageSize,int currentPage, String like);
}
